package com.sunyard.dal.mapper;

import com.sunyard.dal.entity.TaskSceRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wp
 * @Description: 任务场景角色
 * @date 2022/10/12
 */
public interface TaskSceRoleMapper {

    Integer insertSceRole(@Param("taskSceRoles") List<TaskSceRole> taskSceRoles);

    Integer deleteByTaskTypeId(Integer taskTypeId);

    /**
     * @author wp
     * @Description: 根据场景id查询角色id
     * @date 2022/10/12
     */
    List<String> getRoleIdBySceId(Integer taskTypeId);
}
